<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->
<div class="tlr-assessment-container">
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-12 tlr-split-line">
                <div style="display: block; padding: 10px;">
                    确保全部签名都已填写好，否则请注明未填写原因。
                </div>
            </div>
            <div class="col-sm-12 tlr-split-line">
                <div style="display: block; padding: 10px;">
                    根据天乐融的行为准则和标准，我们应当将是否存在决策障碍主核心作为评估流程的准则。若评估认为该对象存在决策障碍，
                    则应本着为评估对象达到“最佳利益”的原则由合适人选代表对象做出决策。当对象被评估认定存在决策障碍后，
                    一切评估行为将以《天乐融行为准则和标准》为根据。若对象不存在决策障碍，那么评估过程必须对该对象的个人意愿给予最大尊重。
                    完成“人身安全保障”部分后，风险评估应根据实际支持需求完成，而不应是全面覆盖各项内容的一纸文件。
                    根据《天乐融行为准则和标准》指出，护理机构应默认假定服务对象（在必要协助支持下）将在个人护理过程中发挥有力的积极作用，
                    包括有决策障碍时做出的不明智选择。
                    若评估对象拒绝配合，则必须将此记录于相应空白处。
                    确保所有选项和问题都已填好。
                    确保所有日期的填写。
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-12 tlr-h1">
                <label class="col-sm-6 control-label">个人需求评估</label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">姓名</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" ng-model="assessment.cover.name">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">日期</label>
            <div class="col-sm-9">
                <p class="input-group">
                    <input id="conver_date_id" ng-model="assessment.cover.date" placeholder="yyyy-mm-dd" style="height: 34px;" class="form-control" type="text">
                    <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
                    <script type="text/javascript">
                        $("#conver_date_id").datetimepicker({
                            language: "zh-CN",
                            format: "yyyy-mm-dd",
                            minView: 2,
                            autoclose: true,
                            todayBtn: true,
                            pickerPosition: "bottom-left"
                        });
                    </script>
                </p>
            </div>
        </div>
        <div class="form-group">
            <div class="tlr-table-layout">
                <table class="table table-bordered" style="font-size: 16px;">
                    <thead>
                        <tr>
                            <th>编号</th>
                            <th>姓名</th>
                            <th>关系</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>1</td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[0].name"></td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[0].relationship"></td>
                        </tr>
                        <tr>
                            <td>2</td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[1].name"></td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[1].relationship"></td>
                        </tr>
                        <tr>
                            <td>3</td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[2].name"></td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[2].relationship"></td>
                        </tr>
                        <tr>
                            <td>4</td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[3].name"></td>
                            <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.cover.otherPresentPeople[3].relationship"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">填写人姓名</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" ng-model="assessment.cover.completedby">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">填写日期</label>
            <div class="col-sm-9">
                <p class="input-group">
                    <input id="conver_completeddate_id" ng-model="assessment.cover.completeddate" placeholder="yyyy-mm-dd" style="height: 34px;" class="form-control" type="text">
                    <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                    <script type="text/javascript">
                        $("#conver_completeddate_id").datetimepicker({
                            language: "zh-CN",
                            format: "yyyy-mm-dd",
                            minView: 2,
                            autoclose: true,
                            todayBtn: true,
                            pickerPosition: "top-left"
                        });
                    </script>
                </p>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-9">
                <input class="btn btn-default" style="float: right;" type="button" value="下一页" ng-click="nextPage(1)">
            </div>
        </div>
    </form>
</div>